/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jald

/**
 *
 * @author aeolus
 */
public class Constants {
    public static final def coderTable = ['А':'1', 'Б':'5','В':'2','Г':'4','Д':'6','Е':'6','Ж':'4',
'З':'3','И':'3','Й':'0','К':'7','Л':'0','М':'3','Н':'7','О':'4',
'П':'5','Р':'0','С':'4','Т':'5','У':'7','Ф':'2','Х':'5','Ц':'1','Ч':'2',
'Ш':'2','Щ':'0','Ы':'1','Ь':'6','Э':'1','Ю':'3','Я':'7',' ':'5']

    public static final def textileOutFile = "ald.textile"

    public static final def htmlOutFile = "ald.html"

    public static final def undetermDotFile = "undeterm.dot"

    public static final def undetermGraphFile = "undeterm.png"

    public static final def pyTextileScript = "my.py"

    public static final def pyTextileScriptCode = """
# -*- coding: UTF-8 -*-
#! /usr/bin/python

import textile
import sys

mytext = ''

if __name__ == "__main__":
    if (len(sys.argv) == 3):
        fin = open(sys.argv[1], 'r')
        while True :
            foo=fin.read(1)
            if foo=='' :
                break
            mytext+=foo
        fout = open(sys.argv[2], 'w')
        fout.write(textile.textile(mytext))

"""
    public static def name = ""
}

